package com.candy.candylogservice.service;

//import com.alibaba.cloud.dubbo.annotation.DubboTransported;
import com.candy.candycommon.utils.ResultBean;
import com.candy.candylogservice.dto.LogLinkDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "logLink1", value = "candy-log", path = "logLink1")
//@DubboTransported(protocol = "dubbo,rest") // 多协议支持
public interface DubboLogLinkService {

    @PostMapping("save")
    ResultBean save(@RequestBody LogLinkDTO logLinkDTO);

}
